package com.ziyun.erp.modules.freightages.service;

import com.alibaba.fastjson.JSONArray;
import com.baomidou.mybatisplus.service.IService;
import io.renren.common.utils.PageUtils;
import com.ziyun.erp.modules.freightages.entity.SdbEctoolsRegionsEntity;
import io.renren.common.utils.R;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author xueqz
 * @email 
 * @date 2018-08-10 15:38:32
 */
public interface SdbEctoolsRegionsService extends IService<SdbEctoolsRegionsEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<SdbEctoolsRegionsEntity> findRoots();

    List<SdbEctoolsRegionsEntity> queryListByParentId(int regionId);

    List<String> queryRegionsSascade();

    /**
     * 单个信息查询
     * @param contactAreaId
     * @return
     */
    SdbEctoolsRegionsEntity selectInfoById(String contactAreaId);

    R getUserData(Map<String, Object> params);

    List<Map>  getAllRegions();
     //只查省份数据
    List<String> queryRegionsList();
}

